package com.damai.param;

public class GroupParamValidate implements IParamValidate {

	private IParamValidate[] validates;
	
	public GroupParamValidate(IParamValidate[] validates) {
		this.validates = validates;
	}
	
	@Override
	public void validateParam(Object value) {
		
		final IParamValidate[] validates =this.validates;
		for (IParamValidate iParamValidate : validates) {
			iParamValidate.validateParam(value);
		}
	}

}
